<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp"%>
<%@include file="../common/css.jsp"%>
<head>
    <title>往期展览-笔飞美术作品</title>
     <link rel="stylesheet" type="text/css" href="/css/style_zlg.css" />
    <script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/js/page/pager.js"></script>
    <script type="text/javascript">
	$(function(){
			$("#page").pager({
				pagenumber : "${modelOld.currentPage}",
				pagecount : "${modelOld.totalPage}",
				buttonClickCallback : function(page) {
					location.href = "/rback.htm?page="+ page+"&y=${y}";
				}
			});
		});
	function inroom(id){
		window.location.href="inroom.htm?id="+id;
	}
	function showRBack(year){
		window.location.href="rback.htm?y="+year;
	}
	</script>
</head>
<body>
<div id="box">
    <%@include file="../common/header.jsp" %>
    
    <div id="main_div2">
        <div class="site_map"><a href="/welcome.htm">首页</a> 》<a href="/rnow.htm">展览馆</a> 》往期展览</div>
        
        <div class="main_div2_left">
            <div class="category">
            <h2>展览</h2>
            <ul>
                <li><a href="rnow.htm">- 当期展览</a></li>
                <li class="cur"><a href="rback.htm">- 往期展览</a></li>
            </ul>
            </div>
        </div>
        <div class="main_div2_right">
            <div class="main_div2_right_t"><span class="fl">往期展览</span><span class="style2 fr">（共${modelOld.totalRecord}个展览）</span></div>
            
            <div class="main_div2_date">
                <h2>时 间</h2>
                <ul>
                <c:forEach items="${years}" var="y">
                    <li><a href="#" onclick="showRBack('${y}')">${y}</a></li>
                 </c:forEach>
                </ul>         
            </div>
            
            <div class="main_div2_list3 mt20">
            <ul>
            	<c:forEach items="${modelOld.list}" var="old" varStatus="vs">
                <li>
                	    <div style="float:left; width: 240px;height: 160px;">
		                     <a href="#" onclick="inroom('${old.identifier}')">
		                   		<img id="img_${vs.count}"  src="${old.cover}_300x200"  class="img_1" alt=""  onload="loadImage(this,240,160);" />
		                    </a>
                        </div>
                    <div class="c_1">
                        <p><b>${old.title}</b></p>
                        <p>${old.startDate}～${old.endDate}
                        	<c:if test="${not empty old.sTime }">
                        		每天<fmt:formatDate value="${old.sTime}" type="time" timeStyle="full" pattern ="HH:mm"/>-<fmt:formatDate value="${old.eTime}" type="time" timeStyle="full" pattern ="HH:mm"/>
                        		</c:if>
                        		</p>
                    
                    </div>
                </li>
                </c:forEach>
            </ul>
            </div>
        </div>
        <div id="page" class="h_page"></div>
       
       	 <!-- foot-->
		    <%@include file="../common/footer.jsp" %>
		    <!-- foot--end-->
    </div>
</div>

</body>
</html>
